﻿
//********************************************************
//创建时间:2011/6/15 9:47:04
//作者：叶燕鑫
//文件内容:
//********************************************************

using System;
using System.Configuration;
using System.Data;
namespace YWTSSys.Model
{
    [Serializable]
    public partial class OUserInfo
    {
        #region 属性
        /// <summary>
        /// 
        ///
        /// </summary>
        public int UserId
        {
            get;
            set;
        }
        /// <summary>
        /// 用户名
        ///
        /// </summary>
        public string UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 密码
        ///
        /// </summary>
        public string PassWord
        {
            get;
            set;
        }
        /// <summary>
        /// 真实名称
        ///
        /// </summary>
        public string RealName
        {
            get;
            set;
        }
        /// <summary>
        /// 用户类型 1为公司员工,2为代理商
        ///
        /// </summary>
        public int UserType
        {
            get;
            set;
        }
        /// <summary>
        /// 是否是超级管理员
        ///
        /// </summary>
        public bool IsSuperAdmin
        {
            get;
            set;
        }
        /// <summary>
        /// 角色ID
        ///
        /// </summary>
        public int RoleId
        {
            get;
            set;
        }
        /// <summary>
        /// 最后一次登陆时间
        ///
        /// </summary>
        public DateTime LastLogin
        {
            get;
            set;
        }
        /// <summary>
        /// 
        ///
        /// </summary>
        public DateTime NowLastLogin
        {
            get;
            set;
        }
        /// <summary>
        /// 
        ///
        /// </summary>
        public string LastLoginIP
        {
            get;
            set;
        }
        /// <summary>
        /// 
        ///
        /// </summary>
        public string NowLoginIP
        {
            get;
            set;
        }
        /// <summary>
        /// 登陆次数
        ///
        /// </summary>
        public int LoginCount
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        ///
        /// </summary>
        public DateTime CreateDate
        {
            get;
            set;
        }
        /// <summary>
        /// 状态,0正常,1禁用
        /// </summary>
        public int State
        {
            get;
            set;
        }
        /// <summary>
        /// 个性化设置
        /// </summary>
        public string MySetting
        {
            get;
            set;
        }
        /// <summary>
        /// 手机
        /// </summary>
        public string Mobile
        {
            get;
            set;
        }

        public string EMail
        {
            get;
            set;
        }
        /// <summary>
        /// 部门
        /// </summary>
        public string Department
        {
            get;
            set;
        }
        #endregion
    }
}
